package Backtracking;

public  class Child extends Parent {


    public static void main(String[] args) {
        Child child = new Child();
        child.startPlaygame();
    }


    @Override
    public void startPlaygame() {
        super.startPlaygame();
        doSth();
    }

    private void doSth() {
        System.out.println("do something");
    }

    @Override
    void playGame() {
        System.out.println("play game1");
    }
}



